/**
 * ProjectName:  mall-service
 * FileName:  QUserService.java
 * PackageName:  com.blx..service
 * Copyright (c) 2013, CYOU All Rights Reserved.
*/
package com.blx.service;

import java.util.Map;

import com.blx.entity.QUser;
import com.blx.model.request.RegisterRequest;
import com.blx.model.response.RegisterResponse;
import com.blx.utils.pagination.Pagination;

/**
 * ClassName: QUserService. <br/>
 * Description:  QUser接口 <br/>
 * @author wangwl
 * 2013-3-4 下午8:51:59 <br/>
 * @version 1.0
 */
public interface QUserService {
	
	public QUser getQUserEntity(Map<String,Object> map);
	/**
	 * 保存QUser实体 <br/>
	 * @param qUser
	 * @author wangwl
	 * 2013-3-4 下午8:59:29
	 */
	public void saveQUser(QUser qUser);

	/**
	 * 更新QUser实体<br/>
	 * @param qUser
	 * @author wangwl
	 * 2013-3-4 下午8:59:52
	 */
	public void updateQUser(QUser qUser);
	/**
	 * 根据id删除QUser实体 <br/>
	 * @param qUserId
	 * @author wangwl
	 * 2013-3-4 下午9:00:14
	 */
	public void deleteQUserById(Integer qUserId);
	/**
	 * 根据id获取QUser实体 <br/>
	 * @param qUserId
	 * @return
	 * @author wangwl
	 * 2013-3-4 下午9:00:32
	 */
	public QUser getQUser(Integer qUserId);
	/**
	 * 分页查询QUser <br/>
	 * @param pageNumber
	 * @param pageSize
	 * @return
	 * @author wangwl
	 * 2013-3-4 下午9:01:23
	 */
	public Pagination<QUser> findPageQUserAll(int pageNumber,int pageSize);
	/**
	 * 
	* @Title: userRegister 
	* @Description: 用户注册 
	* @param @param request
	* @param @return    设定文件 
	* @return RegisterResponse    返回类型 
	* @throws
	 */
	public RegisterResponse userRegister(RegisterRequest request);
}

